package biz.ws.ws;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * @创建人 xiaojiancheng
 * @时间 2020/10/7
 * @描述 消息承载模型
 */
public class WsModel {
    @Setter
    @Getter
    public static class Request {
        private String msgType;
        private LocalDateTime createTime;
    }

    public static class Response {

    }

    @Setter
    @Getter
    public static class LoginInfo {
        private String userId;
        //  密码链接 token链接 直接链接,不校验账号密码  password? token? direct?
        private String type;
        private String timestamp;
        private String loginFrom;
        private String username;
        private String password;
        private String token;
    }
}
